@if (count($errors) > 0)
  @foreach ($errors->all() as $error)
	<script src="//cdn.bootcss.com/sweetalert/1.1.3/sweetalert.min.js"></script>
  	<script type="text/javascript">swal("系统提示", "{{ $error }}", "warning");</script>
  @endforeach
@endif